package com.tang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.tang"})
@MapperScan(basePackages={"com.tang.mapper"})//扫描Mapper
//@MapperScan("com.tang.mapper")//扫描mapper
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

}